// DOMTreeTestDlg.h : header file
//

#pragma once
#include "explorer1.h"
#include "DOMTree.h"
#include "afxcmn.h"


// CDOMTreeTestDlg dialog
class CDOMTreeTestDlg : public CDialog
{
// Construction
public:
	CDOMTreeTestDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_DOMTREETEST_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg LRESULT OnDOMNodeInfo(WPARAM wParam,LPARAM lParam);
	DECLARE_MESSAGE_MAP()
public:
	CExplorer1 m_browser;
	afx_msg void OnBnClickedOk();
	CString m_Url;
	CDOMTree m_DOMTree;
	DECLARE_EVENTSINK_MAP()
	void DocumentCompleteExplorer1(LPDISPATCH pDisp, VARIANT* URL);
	CString m_DOMNodeInfo;
};
